Skip to main content

ARDK for Android/com.nianticlabs.ardk.mesh/MeshingSession/getData

getData

[androidJvm]
fun getData(id: Long): MeshData?

Gets the data for a single mesh chunk.

Calling this function will reset the updated flag for the mesh chunk; i.e. after calling this function, future calls of getUpdatedInfos will only mark the chunk with id as having updated if its mesh data has changed since the call to this function.

Return​

The mesh data if a mesh chunk with id exists, null if otherwise.

Parameters​

androidJvm

idThe ID of the mesh chunk to read, obtained from getUpdatedInfos.

See also​

MeshingSession.getUpdatedInfos
MeshData